package com.michale.common.domain.permissions;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author Michale
 * @apiNote 角色和部门关联表实体类
 */
@Data
@TableName("per_role_dept")
@ApiModel(value = "SysRoleDept对象", description = "角色和部门关联表")
public class RoleDeptEntity implements Serializable{
private static final long serialVersionUID=1L;

    @TableId
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

}